package com.learn.runner;

import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

@Component
public class InitRunner implements CommandLineRunner {
    public void run(String...args) {
        System.out.println("初始化加载开始");
        System.out.println("系统属性："+System.getProperties());
        System.out.println("初始化加载结束");
    }
}
